export const upperFirst = (val: string): string => {
  return val.charAt(0).toUpperCase() + val.slice(1);
};

export const lowerFirst = (val: string): string => {
  return val.charAt(0).toLowerCase() + val.slice(1);
};

export const isString = (value: any): value is string => {
  return typeof value === 'string' || value instanceof String;
};
